#ifndef DOWNLOADDELEGATE_H
#define DOWNLOADDELEGATE_H

#include "downloadmodel.h"

#include <QStyledItemDelegate>
#include <QPainter>
#include <QStyleOptionViewItem>
#include <QModelIndex>

class DownloadDelegate : public QStyledItemDelegate
{
    Q_OBJECT

    DownloadModel* model;
public:
    explicit DownloadDelegate(DownloadModel* model, QObject *parent = 0);
    
    void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const;
signals:
    
public slots:
    
};

#endif // DOWNLOADDELEGATE_H
